package cn.wch.meshlib.constant;

/**
 * 通过下命令
 */
public class Command {
    /**供应信息*/
    public static final byte CMD_PROVISION_INFO=(byte)0xa0;
    /**供应商信息应答*/
    public static final byte CMD_PROVISION_INFO_ACK=(byte)0x80;

    /**配置*/
    public static final byte CMD_PROVISION=(byte)0xa1;
    /**配置应答状态（有状态码）*/
    public static final byte CMD_PROVISION_ACK=(byte)0x81;

    /**删除节点*/
    public static final byte CMD_DELETE_NODE=(byte)0xa2;
    /**删除节点应答（有状态码）*/
    public static final byte CMD_DELETE_NODE_ACK=(byte)0x82;

    //public static final byte CMD_DELETE_NODE_INFO=(byte)0xa3;
    /**删除节点信息应答*/
    public static final byte CMD_DELETE_NODE_INFO_ACK=(byte)0x83;

    /**查询状态*/
    public static final byte CMD_ASK_STATUS=(byte)0xa4;
    /**查询状态应答（有状态码）*/
    public static final byte CMD_ASK_STATUS_ACK=(byte)0x84;

    /**传输数据*/
    public static final byte CMD_TRANSFER=(byte)0xa5;
    /**传输数据应答（有状态码）*/
    public static final byte CMD_TRANSFER_RECEIVE=(byte)0x85;

    /**图形信息*/
    public static final byte CMD_IMAGE_INFO=(byte)0xa6;
    /**图形信息应答*/
    public static final byte CMD_IMAGE_INFO_ACK=(byte)0x86;

    /**更新*/
    public static final byte CMD_UPDATE=(byte)0xa7;
    /**更新应答*/
    public static final byte CMD_UPDATE_ACK=(byte)0x87;

    /**验证*/
    public static final byte CMD_VERIFY=(byte)0xa8;
    /**验证应答*/
    public static final byte CMD_VERIFY_ACK=(byte)0x88;

    /**结束*/
    public static final byte CMD_END_INFO=(byte)0xa9;
    /**结束应答*/
    public static final byte CMD_END_INFO_ACK=(byte)0x89;

    /**设置订阅*/
    public static final byte CMD_SET_SUB=(byte)0xaa;
    /**设置订阅应答*/
    public static final byte CMD_SET_SUB_ACK=(byte)0x8a;

    /**本地复位*/
    public static final byte CMD_LOCAL_RESET=(byte)0xaf;
    /**本地复位应答*/
    public static final byte CMD_LOCAL_RESET_ACK=(byte)0x8f;
}
